package snow.repository;

import snow.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author : liqun
 * @createTime : 2022/2/23 15:57
 */
public interface UserRepository extends JpaRepository<User,Long> {
    User findByUserName(String userName);
    User findByUserNameOrEmail(String username, String email);
}
